//
//  meSettingFooterView.m
//  百思不得姐os1
//
//  Created by kqy on 8/15/16.
//  Copyright © 2016 kqy. All rights reserved.
//

#import "meSettingFooterView.h"
#import "AFNetworking.h"
#import "meSquareModel.h"
#import "MJExtension.h"
@interface meSettingFooterView ()
//@property (nonatomic, strong) NSArray *squares;
@end
@implementation meSettingFooterView

- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        self.backgroundColor = kqyRandomColor;
        
        [self setupData];
    }
    return self;
}
- (void)setupData {
    NSMutableDictionary *params = [NSMutableDictionary dictionary];
    params[@"a"] = @"square";
    params[@"c"] = @"topic";
    AFHTTPSessionManager *afnManager = [AFHTTPSessionManager manager];
    [afnManager GET:@"http://api.budejie.com/api/api_open.php" parameters:params progress:nil success:^(NSURLSessionDataTask * _Nonnull task, id  _Nullable responseObject) {
        
    } failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
        
    }];
}
//
//
//
//
@end